package com.xiaoyu.studyworkspace.common.util;


import java.util.HashMap;
import java.util.Map;

public class PredictionProcessUtil {


    private static Map<String, String> laowan = new HashMap<>();

    /**
     * id存对应的预测map
     */
    private static Map<Integer, Map<String, String>> storeMap = new HashMap<>();

    /**
     *
     */
    static {
        laowan.put("含烟阁", "晴天阁");
        laowan.put("晴天阁", "碧水间");
        laowan.put("碧水间", "听雨楼");
        laowan.put("听雨楼", "月亮湾");
        laowan.put("月亮湾", "含烟阁");
        storeMap.put(1001, laowan);
    }

    private PredictionProcessUtil() {
    }

    /**
     * 处理老王预测法
     *
     * @return
     */
    public static String getPredRoomById(Integer userId, String killRoomName) {
        return storeMap.get(userId).get(killRoomName);
    }


}
